package com.aaa.dao.fpa;

import com.aaa.entity.fpa.TestResultFpa;
import com.aaa.entity.fpa.TesterFpa;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 性格测试者(TesterFpa)表数据库访问层
 *
 * @author makejava
 * @since 2022-09-07 08:58:38
 */
public interface TesterFpaDao {
    /**
     * 验证手机号是否重复
     * @return
     */
    TesterFpa queryPhone(String phone);
    Integer selectUserName(String name);
    /**
     * 添加测试人
     */
    int  addQuery(TesterFpa testerFpa);
    /**
     * 批量添加答案
     */
    int insertBatch(@Param("entities")List<TestResultFpa> entities);

}

